package com.df.bpm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.df.bpm.entity.InformatizationTarget;
import org.apache.ibatis.annotations.Delete;

public interface InformatizationTargetMapper extends BaseMapper<InformatizationTarget> {

    @Delete("DELETE \n" +
            "FROM businessOverview.informatizationTarget \n" +
            "where informatizationRequirementIndex=${requirementId} " +
            "and informatizationTargetIndex not in (${targetsId}) \n")
    void delete4Save(Integer requirementId, String targetsId);
}